package com.example.ai.security;


import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author : zhayh
 * @date : 2021-4-18 16:20
 * @description :
 */

public class PasswordUtil {
    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        System.out.println(encoder.encode("admin"));
    }
}
